package in.developersguide.string;

public class DeepIntoString {
  public static void main(String[] args) {
    String a = "abc";
    String b = "abc";
    String c = new String("abc");
    
   System.out.println(a==b); //true
   System.out.println(a==c); //false
    
    a = a+"d";
    c = c+"d";
   	System.out.println(a==c); //false
   
 }
}
